/*
 * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package javax.xml.soap;

/**
 * A representation of a node whose value is text.  A <code>Text</code> object
 * may represent text that is content or text that is a comment.
 */
public interface Text extends Node, org.w3c.dom.Text {

  /**
   * Retrieves whether this <code>Text</code> object represents a comment.
   *
   * @return <code>true</code> if this <code>Text</code> object is a comment; <code>false</code>
   * otherwise
   */
  public boolean isComment();
}
